package com.mine.modules.vm.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class VmPermissionDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("父id")
    private String parentId;

    @ApiModelProperty(value = "菜单名称",required = true)
    private String name;

    @ApiModelProperty("菜单图标")
    private String icon;

    @ApiModelProperty("组件")
    private String component;

    @ApiModelProperty("组件名字")
    private String componentName;

    @ApiModelProperty("路径")
    private String path;

    @ApiModelProperty("一级菜单跳转地址")
    private String redirect;

    @ApiModelProperty("菜单排序")
    private Double sortNo;

    @ApiModelProperty("类型（0：一级菜单；1：子菜单）")
    private Integer menuType;

    @ApiModelProperty("是否路由菜单0:不是  1:是（默认值1）")
    private boolean route;

    @ApiModelProperty("是否隐藏路由菜单: 0否,1是（默认值0）")
    private boolean hidden;

    @ApiModelProperty("外链菜单打开方式 0/内部打开 1/外部打开")
    private boolean internalOrExternal;

}
